home *** CD-ROM | disk | FTP | other *** search
- *** 1.2 1992/08/14 17:14:34
- --- Changelo 1992/11/08 00:58:59
- ***************
- *** 16,18 ****
- --- 16,42 ----
- to current position between getc()/putc() reversal.
-
- ---------------------- Patchlevel 04 --------------------------------------
- +
- + tfseek.c:: ++jrb
- + new test from glibc
- +
- + tmemmv.c:: ++jrb
- + new test from glibc
- +
- + ttime.c:: ++jrb
- + added one more test
- +
- + float1.c:: ++jrb
- + trivial test for fp. apparently this was broken at some point.
- +
- + tregex.c:: ++jrb
- + tregex was trying to write into const strings. corrected by
- + copying string into a buffer (before breaking out fields in multiple())
- +
- + tstrl2.c:: ++jrb
- + the 0xGZZZZZ test case was expecting strtol() not to
- + consume the leading zero. i think it should (our
- + tstrtoul tests also things so).
- + (i ran this test on an Hp-Snake, A Dec-Alpha, A Sony-Risc and
- + all of them agree).
- + ---------------------- Patchlevel 05 --------------------------------------
- *** 1.2 1992/08/14 17:14:34
- --- Makefile.hp 1992/11/08 00:58:59
- ***************
- *** 3,11 ****
- #
- # Must say hpux has come a ways: still fails some of the string tests
- #
- ! SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
- ! tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
- ! tstrl2.c ttime.c tstrtoul.c twrseek.c
-
- .SUFFIXES: .ttp
-
- --- 3,12 ----
- #
- # Must say hpux has come a ways: still fails some of the string tests
- #
- ! SRC = float1.c tatof.c tbcopy.c tctype.c tfseek.c tprintf.c tqsort.c \
- ! trandm.c trdwr.c tregex.c tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c \
- ! tstrl1.c tstrl2.c tstrtoul.c ttime.c twrseek.c tmemmv.c
- !
-
- .SUFFIXES: .ttp
-
- *** 1.2 1992/08/14 17:14:34
- --- Makefile.sun 1992/11/08 00:59:00
- ***************
- *** 2,9 ****
- # Makefile for Sun OS 4.0.3
- # half the tests can be done because there are no ANSI libs
- #
- ! SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
- ! tscanf.c tsetjm.c tsignl.c tstdio.c twrseek.c
-
-
- .SUFFIXES: .ttp
- --- 2,9 ----
- # Makefile for Sun OS 4.0.3
- # half the tests can be done because there are no ANSI libs
- #
- ! SRC = float1.c tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
- ! tscanf.c tsetjm.c tsignl.c tstdio.c twrseek.c tfseek.c
-
-
- .SUFFIXES: .ttp
- *** 1.2 1992/08/14 17:14:34
- --- Makefile.tos 1992/11/08 00:59:00
- ***************
- *** 1,6 ****
- ! SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
- ! tregex.c tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
- ! tstrl2.c ttime.c tstrtoul.c twrseek.c
-
- .SUFFIXES: .ttp
-
- --- 1,6 ----
- ! SRC = float1.c tatof.c tbcopy.c tctype.c tfseek.c tprintf.c tqsort.c \
- ! trandm.c trdwr.c tregex.c tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c \
- ! tstrl1.c tstrl2.c tstrtoul.c ttime.c twrseek.c tmemmv.c
-
- .SUFFIXES: .ttp
-
- *** 1.4 1992/08/14 17:14:34
- --- PatchLev.h 1992/11/08 00:59:00
- ***************
- *** 1,5 ****
-
- ! #define PatchLevel "04"
-
- /*
- *
- --- 1,5 ----
-
- ! #define PatchLevel "05"
-
- /*
- *
- *** 1.2 1992/04/19 17:06:14
- --- tprintf.out 1992/11/08 00:59:03
- ***************
- *** 9,15 ****
- %*.*x: `0012'
- %0*.*x: `0012'
- bad format: "z"
- ! nil pointer: "00000000"
- decimal negative: "-2345"
- octal negative: "37777773327"
- hex negative: "fffff6d7"
- --- 9,15 ----
- %*.*x: `0012'
- %0*.*x: `0012'
- bad format: "z"
- ! nil pointer: "0"
- decimal negative: "-2345"
- octal negative: "37777773327"
- hex negative: "fffff6d7"
- ***************
- *** 24,30 ****
- left-adjusted Z string: "Hi, Z. "
- space-padded string: " Hi, Z."
- left-adjusted S string: "Hi, Z. "
- ! null string: ""
- limited string: "Good morning, Doctor C"
- e-style >= 1: "1.234000e+01"
- e-style >= .1: "1.234000e-01"
- --- 24,30 ----
- left-adjusted Z string: "Hi, Z. "
- space-padded string: " Hi, Z."
- left-adjusted S string: "Hi, Z. "
- ! null string: "(null)"
- limited string: "Good morning, Doctor C"
- e-style >= 1: "1.234000e+01"
- e-style >= .1: "1.234000e-01"
- *** 1.1 1992/03/26 21:49:31
- --- tregex.c 1992/11/08 00:59:04
- ***************
- *** 244,252 ****
-
- regexp badregexp; /* Implicit init to 0. */
-
- multiple()
- {
- - char *rbuf;
- char *field[5];
- char *scan;
- int i, j;
- --- 244,252 ----
-
- regexp badregexp; /* Implicit init to 0. */
-
- + char rbuf[1024];
- multiple()
- {
- char *field[5];
- char *scan;
- int i, j;
- ***************
- *** 255,261 ****
-
- errreport = 1;
- lineno = 0;
- ! for(rbuf = test_input[0], j = 0; rbuf; rbuf = test_input[++j]) {
- lineno++;
- scan = rbuf;
- for (i = 0; i < 5; i++) {
- --- 255,262 ----
-
- errreport = 1;
- lineno = 0;
- ! for(j = 0; test_input[j]; j++) {
- ! strcpy(rbuf, test_input[j]);
- lineno++;
- scan = rbuf;
- for (i = 0; i < 5; i++) {
- *** 1.1 1992/03/26 21:49:31
- --- tstrl2.c 1992/11/08 00:59:06
- ***************
- *** 61,67 ****
- { " -567]", -567L, OK, 10 },
-
- { "ZZZZZZ", 0L, OK, 0 },
- ! { "0xGZZZZZ", 0L, OK, 0 },
- { "08ZZZZZZ", 0L, OK, 1 },
- { "+0x1ZZZZZZ", 1L, OK, 4 },
- { " -07188888", -071L, OK, 5 },
- --- 61,67 ----
- { " -567]", -567L, OK, 10 },
-
- { "ZZZZZZ", 0L, OK, 0 },
- ! { "0xGZZZZZ", 0L, OK, 1 },
- { "08ZZZZZZ", 0L, OK, 1 },
- { "+0x1ZZZZZZ", 1L, OK, 4 },
- { " -07188888", -071L, OK, 5 },
- *** 1.1 1992/08/14 17:14:34
- --- tstrtoul.c 1992/11/08 00:59:06
- ***************
- *** 111,116 ****
- errs++;
- }
- }
- ! printf("%d error(s)\n", errs);
- ! return errs;
- }
- --- 111,117 ----
- errs++;
- }
- }
- !
- ! if (errs) printf("%d error(s)\n", errs);
- ! return errs ? EXIT_FAILURE : EXIT_SUCCESS;
- }
- *** 1.1 1992/03/26 21:49:31
- --- ttime.c 1992/11/08 00:59:07
- ***************
- *** 115,120 ****
- --- 115,130 ----
- fputs (buffer, stdout);
- strftime (buffer, SIZE, "The time is %I:%M %p.\n", loctime);
- fputs (buffer, stdout);
- +
- + loctime->tm_year = 72;
- + loctime->tm_mon = 8;
- + loctime->tm_mday = 12;
- + loctime->tm_hour = 20;
- + loctime->tm_min = 49;
- + loctime->tm_sec = 05;
- + curtime = mktime (loctime);
- + strftime (buffer, SIZE, "%D %T was %w the %jth.\n", loctime);
- + fputs (buffer, stdout);
- }
-
- return(lose ? EXIT_FAILURE : EXIT_SUCCESS);
- *** 1.1 1992/08/14 17:14:34
- --- twrseek.c 1992/11/08 00:59:07
- ***************
- *** 18,24 ****
- --- 18,26 ----
- int status = 0;
- long got;
-
- + #ifdef atarist
- _binmode(1);
- + #endif
- if(!(fp = fopen(FILENAME,"w+")))
- {
- perror(FILENAME);
-